Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip events that ended in the past #17

Open
wants to merge 4 commits into
base: gh-pages
Choose a base branch
from
Open

Conversation

ProLoser
Copy link
Owner

@ProLoser ProLoser commented Dec 7, 2024

Fixes #16

Skip events that have ended before rendering them on the map.

  • Add logic in map.js to check if an event has ended before rendering it on the map.
  • Update the filter function in map.js to include logic to check if an event has ended before rendering it on the map.
  • Add a method to the Events class in map.js to filter out past events based on their end time.

For more details, open the Copilot Workspace session.

Fixes #16

Skip events that have ended before rendering them on the map.

* Add logic in `map.js` to check if an event has ended before rendering it on the map.
* Update the `filter` function in `map.js` to include logic to check if an event has ended before rendering it on the map.
* Add a method to the `Events` class in `map.js` to filter out past events based on their end time.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ProLoser/funcheapmap/issues/16?shareId=XXXX-XXXX-XXXX-XXXX).
* **Initialize function**: Add logic to check if an event has ended before rendering it on the map.
* **Filter function**: Update to include logic to check if an event has ended before rendering it on the map.
* **Events class**: Add a method to filter out past events based on their end time.
* **Local storage**: Filter out past events before saving to local storage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Skip events that ended in the past
1 participant